package com.fita.admin.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.fita.entity.data.Supplier;
/**
 * 
 * @author sjh
 *
 */
@Dao("hibernate")
public interface SupplierDao {
	
	@Query("FROM Supplier WHERE disabled = false AND code = :code")
	public Supplier load(@Variable("code") String code);
	
}
